package ab.mes.mapper;

import ab.mes.entity.OrderCheck;
import ab.mes.entity.ProcessFirstInspection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderCheckMapper {
    @Select("select * FROM order_check")
    public List<OrderCheck> selectOrderCheck();

    @Select("select * FROM order_check where production_No = #{num} OR order_ProductNo = #{num}")
    public List<OrderCheck> selectByNum(String num);
}
